home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1995 January / macformat-020.iso / Shareware City / Developers / OutOfPhase1.01Source / OutOfPhase Folder / OscillatorListSpecifier.h < prev    next >
Encoding:
C/C++ Source or Header  |  1994-10-01  |  1.1 KB  |  40 lines  |  [TEXT/KAHL]

  1. /* OscillatorListSpecifier.h */
  2.  
  3. #ifndef Included_OscillatorListSpecifier_h
  4. #define Included_OscillatorListSpecifier_h
  5.  
  6. /* OscillatorListSpecifier module depends on */
  7. /* MiscInfo.h */
  8. /* Audit */
  9. /* Debug */
  10. /* Definitions */
  11. /* Memory */
  12. /* OscillatorSpecifier */
  13.  
  14. /* forwards */
  15. struct OscillatorRec;
  16.  
  17. struct OscillatorListRec;
  18. typedef struct OscillatorListRec OscillatorListRec;
  19.  
  20. /* create a new array of oscillators */
  21. OscillatorListRec*            NewOscillatorListSpecifier(void);
  22.  
  23. /* dispose of oscillator list */
  24. void                                        DisposeOscillatorListSpecifier(OscillatorListRec* OscList);
  25.  
  26. /* append a new oscillator */
  27. MyBoolean                                AppendOscillatorToList(OscillatorListRec* OscList,
  28.                                                     struct OscillatorRec* NewOscillator);
  29.  
  30. /* get one of the oscillators from the list */
  31. struct OscillatorRec*        GetOscillatorFromList(OscillatorListRec* OscList, long Index);
  32.  
  33. /* find out how many oscillators there are in the list */
  34. long                                        GetOscillatorListLength(OscillatorListRec* OscList);
  35.  
  36. /* resolve all modulation references.  returns False if it couldn't be done */
  37. MyBoolean                                ResolveOscillatorListModulators(OscillatorListRec* OscList);
  38.  
  39. #endif
  40.